<?php
namespace Admin\Controller;

class IndexController extends BaseController
{
    public function indexAction()
    {
		$nav_list = M('menu')->where('parent_id = 0 AND is_on = 1')->order('list_order asc, id asc')->select();
		$this->assign('nav_list', $nav_list); 
        $this->display();
    }
    
    public function homeAction()
    {
        $this->display();
    }
}